package parkshop.pmcourse.mapping;

import java.util.List;

import parkshop.pmcourse.domain.ShoppingCart;
import parkshop.pmcourse.dto.PageBean;

public interface ShoppingCartMapper {
	void insertShoppingCart(ShoppingCart shoppingCart);
	int updateByPrimaryKeySelective(ShoppingCart shoppingCart);
	int deleteByPrimaryKey(Long id);
	ShoppingCart selectByPrimaryKey(Long id);
	List<ShoppingCart> selectShoppingCartsByCustomer(Long id);
	List<ShoppingCart> selectPageShoppingCartsByCustomer(PageBean pageBean);
	int selectCountByCustomer(Long id);
	
	
}
